[INFO] cloning repository https://github.com/raidakhoyyara/Module-6-Concurency
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raidakhoyyara/Module-6-Concurency" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraidakhoyyara%2FModule-6-Concurency", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraidakhoyyara%2FModule-6-Concurency'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 77e104e124923e2b27752c0c3ae3310a43d36077
[INFO] fixing raidakhoyyara/Module-6-Concurency against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraidakhoyyara%2FModule-6-Concurency" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/raidakhoyyara/Module-6-Concurency
[INFO] finished tweaking git repo https://github.com/raidakhoyyara/Module-6-Concurency
[INFO] tweaked toml for git repo https://github.com/raidakhoyyara/Module-6-Concurency written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/raidakhoyyara/Module-6-Concurency on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/raidakhoyyara/Module-6-Concurency already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3f31c7137d50a32c4c0fc67a06e9c2412ff8bc8511eecd270b6d9f7d1009cd12
[INFO] running `Command { std: "docker" "start" "3f31c7137d50a32c4c0fc67a06e9c2412ff8bc8511eecd270b6d9f7d1009cd12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3f31c7137d50a32c4c0fc67a06e9c2412ff8bc8511eecd270b6d9f7d1009cd12" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f31c7137d50a32c4c0fc67a06e9c2412ff8bc8511eecd270b6d9f7d1009cd12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3f31c7137d50a32c4c0fc67a06e9c2412ff8bc8511eecd270b6d9f7d1009cd12" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking hello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ThreadPool {
[INFO] [stdout]    |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:11:41
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn build(size: usize) -> Result<ThreadPool, PoolCreationError> {
[INFO] [stdout]    |                                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<ThreadPool> ThreadPool {
[INFO] [stdout]    |     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `mpsc` in this scope
[INFO] [stdout]   --> src/lib.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (sender, receiver) = mpsc::channel();
[INFO] [stdout]    |                                  ^^^^ use of unresolved module or unlinked crate `mpsc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mpsc`, use `cargo add mpsc` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::mpsc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let receiver = Arc::new(Mutex::new(receiver));
[INFO] [stdout]    |                        ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope
[INFO] [stdout]   --> src/lib.rs:17:33
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let receiver = Arc::new(Mutex::new(receiver));
[INFO] [stdout]    |                                 ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |             workers.push(Worker::new(id, Arc::clone(&receiver)));
[INFO] [stdout]    |                                          ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         Ok(ThreadPool {
[INFO] [stdout]    |            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TcpListener` in this scope
[INFO] [stdout]   --> src/lib.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let listener = TcpListener::bind("127.0.0.1:7878").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ use of undeclared type `TcpListener`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello` (lib) due to 11 previous errors
[INFO] [stdout] error[E0433]: cannot find type `Worker` in this scope
[INFO] [stdout]   --> src/lib.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |             workers.push(Worker::new(id, Arc::clone(&receiver)));
[INFO] [stdout]    |                          ^^^^^^ use of undeclared type `Worker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let pool = ThreadPool::build(4).unwrap_or_else(|err| {
[INFO] [stdout]    |                ^^^^^^^^^^ use of undeclared type `ThreadPool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ThreadPool {
[INFO] [stdout]    |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handle_connection` in this scope
[INFO] [stdout]   --> src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             handle_connection(stream);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:11:41
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn build(size: usize) -> Result<ThreadPool, PoolCreationError> {
[INFO] [stdout]    |                                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<ThreadPool> ThreadPool {
[INFO] [stdout]    |     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `mpsc` in this scope
[INFO] [stdout]   --> src/lib.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (sender, receiver) = mpsc::channel();
[INFO] [stdout]    |                                  ^^^^ use of unresolved module or unlinked crate `mpsc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mpsc`, use `cargo add mpsc` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::mpsc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let receiver = Arc::new(Mutex::new(receiver));
[INFO] [stdout]    |                        ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope
[INFO] [stdout]   --> src/lib.rs:17:33
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let receiver = Arc::new(Mutex::new(receiver));
[INFO] [stdout]    |                                 ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |             workers.push(Worker::new(id, Arc::clone(&receiver)));
[INFO] [stdout]    |                                          ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         Ok(ThreadPool {
[INFO] [stdout]    |            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TcpListener` in this scope
[INFO] [stdout]   --> src/lib.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let listener = TcpListener::bind("127.0.0.1:7878").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ use of undeclared type `TcpListener`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Worker` in this scope
[INFO] [stdout]   --> src/lib.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |             workers.push(Worker::new(id, Arc::clone(&receiver)));
[INFO] [stdout]    |                          ^^^^^^ use of undeclared type `Worker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let pool = ThreadPool::build(4).unwrap_or_else(|err| {
[INFO] [stdout]    |                ^^^^^^^^^^ use of undeclared type `ThreadPool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handle_connection` in this scope
[INFO] [stdout]   --> src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             handle_connection(stream);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello` (lib test) due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "3f31c7137d50a32c4c0fc67a06e9c2412ff8bc8511eecd270b6d9f7d1009cd12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f31c7137d50a32c4c0fc67a06e9c2412ff8bc8511eecd270b6d9f7d1009cd12", kill_on_drop: false }`
[INFO] [stdout] 3f31c7137d50a32c4c0fc67a06e9c2412ff8bc8511eecd270b6d9f7d1009cd12
